package com.four.reimbursemanage.service;

import com.four.reimbursemanage.common.bean.Page;
import com.four.reimbursemanage.entity.CondolenceApply;
import com.four.reimbursemanage.entity.Dailyapply;
import com.four.reimbursemanage.entity.Payapply;

import java.util.Date;

public interface CondolenceApplyService {
    /**
     * 查询慰问金申请列表
     *
     */
    public Page<CondolenceApply> getOnrePage(int pageNum, int pageSize,
                                      String applyDepartment, String payee, Integer state);

    /**
     * 查询本人慰问金申请列表
     *
     */
    public Page<CondolenceApply> getOnrePageUser(int pageNum, int pageSize,
                                             String applyDepartment, String payee, Integer state, String number);
    /**
     * 新增慰问金申请
     */
    public boolean insertComdolenceapply(CondolenceApply condolenceApply);

    /**
     * 修改慰问金申请
     */
    public boolean updateCondolenceApply(CondolenceApply condolenceApply);

    /*修改审批状态*/
    public boolean updateC(CondolenceApply condolenceApply);

}
